package org.zhaozhen.org.mapper;

import org.zhaozhen.basic.mapper.BaseMapper;
import org.zhaozhen.org.domain.Department;
import org.zhaozhen.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department>{

    //公共接口继承basemapper接口
    //非公共接口自己单独加，

    /**
     * 获取一二级部门树
     * @return
     */
    List<Department> queryTree();

}
